package com.lightkits.wms.client;

import com.lightkits.demand.dto.dotrack.CreateDoTrackRequestType;
import com.lightkits.demand.dto.dotrack.CreateDoTrackResponseType;
import com.lightkits.demand.dto.dotrack.GetDoTrackRequestType;
import com.lightkits.demand.dto.dotrack.GetDoTrackResponseType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * DoTrackService
 *
 * @author lanmi.xin@gmail.com
 * Created on 2019-05-19 21:15
 */
@FeignClient(value = "OS-DO-SERVICE")
public interface DoTrackServiceClient {
    @PostMapping(value = "/DoTrackService/getDoTrack")
    GetDoTrackResponseType getDoTrack(GetDoTrackRequestType request);

    @PostMapping(value = "/DoTrackService/createDoTrack")
    CreateDoTrackResponseType createDoTrack(CreateDoTrackRequestType request);
}
